import requests

url = 'https://fanyi.baidu.com/sug'
ipt = '请输入:'
dat = {
    'kw': ipt
}

# 发送post请求
resp = requests.post(url, data={dat)
print(resp)